package com.bajiao.service.useRule;

import com.bajiao.dto.useRule.UseRulePageVo;
import com.bajiao.entity.useRule.UseRule;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 使用规则
 * @Author: wangw
 * @Date:   2025.03.01
 * @Version: V1.0
 */
public interface UseRuleService extends IService<UseRule> {

    /**
     * 查询
     * @return
     */
    IPage<UseRule> queryPage(UseRulePageVo vo);

    /**
     * 更新
     * @param vo
     * @return
     */
    boolean edit(UseRulePageVo vo);

    /**
     * 更新
     * @param vo
     * @return
     */
    boolean addUseRule(UseRulePageVo vo);

    /**
     * 更新
     * @param id
     * @return
     */
    boolean del(String id);

}
